<?php
/**
 * @link https://ym2.cleverstone.top
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */

namespace builder\base;

/**
 * RBAC路由校验接口
 * @author cleverstone
 * @since ym2.0
 */
interface RbacValidateInterface
{
    /**
     * 权限校验
     * @param string $route 路由
     * @return boolean
     */
    public function permissionValidate($route);
}